<!-- 基本用法 -->

<template>
  <u-toc>
    <u-toc-item>
        <template #label>目录节点1</template>
        <u-toc-item><template #label>目录节点1.1</template></u-toc-item>
    </u-toc-item>
    <u-toc-item><template #label>目录节点2</template></u-toc-item>
    <u-toc-item><template #label>目录节点3</template></u-toc-item>
</u-toc>
</template>